Description
Returns a string which is a URL to a wave or mp3 stream of the passed-in text being spoken in the desired language.
Request (LanguageService_Speak_InputMessage)
The request body is of type Speak.
Request Body Parameters
Name | Description | Data Type |
appId | | xml:string |
text | | xml:string |
language | | xml:string |
format | | xml:string |
options | | xml:string |

Overview
 |
 |
Sequence
 |
appId optional xs:string
A string containing "Bearer" + " " + access token.
|
 |
text optional xs:string
A string representing the text to split into sentences. The size of the text must not exceed 10000 characters.
|
 |
language optional xs:string
A string representing the supported language code to speak the text in. The code must be present in the list of codes returned from the method GetLanguagesForSpeak.
|
 |
format optional xs:string
A string specifying the content-type ID. Currently, “audio/wav” and “audio/mp3” are available. The default value is "audio/wav".
|
 |
options optional xs:string
A string specifying the quality of the audio signals. Currently, “MaxQuality” and “MinSize” are available. With “MaxQuality”, you can get the voice(s) with the highest quality, and with “MinSize”, you can get the voices with the smallest size. If no value is provided, we default to “MinSize”.
| | |
Response (LanguageService_Speak_OutputMessage)
The response body is of type SpeakResponse.
Returns a string which is a URL to a wave or mp3 stream of the passed-in text being spoken in the desired language.Response Body Parameters
Name | Description | Data Type |
SpeakResult | | xml:string |

Overview
 |
 |
Sequence
| |
See Also